package com.njcs.proxypattern;

public class Pursuit implements GiveGift {
	private String name;
	private MM mm;

	public Pursuit(String name, MM mm) {
		this.name = name;
		this.mm = mm;
	}

	public void giveChocolate() {
		System.out.println(mm.getName() + ":" + name + "送你chocolate");
	}

	public void giveDolls() {
		System.out.println(mm.getName() + ":" + name + "送你洋娃娃");
	}

	public void giveFlowers() {
		System.out.println(mm.getName() + ":" + name + "送你花");
	}

}
